package com.xucranger.ojapi.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xucranger.ojapi.enity.DTO.UserinfoDTO;
import com.xucranger.ojapi.enity.DTO.common.ResponseDTO;
import com.xucranger.ojapi.enity.VO.UserinfoVO;
import com.xucranger.ojapi.enity.domain.RegisterUser;
import com.xucranger.ojapi.enity.domain.Userinfo;

/**
* @author xucranger
* @description 针对表【userinfo】的数据库操作Service
* @createDate 2022-08-26 09:01:54
*/
public interface UserinfoService extends IService<Userinfo> {

    ResponseDTO register(RegisterUser registerUser);

    ResponseDTO<UserinfoDTO> login(Userinfo userinfo);

    ResponseDTO<UserinfoVO> getPofile(String userid);
}
